package router

import (
	"zsc-boot/app/message/api"
	"zsc-boot/core/web"
)

func InitMessageRouterGroup() {
	messageGroup := web.GetGin().Group("/message")
	messageGroup.GET("/list", new(api.MessageApi).List)
	messageGroup.PUT("/batchIsRead", new(api.MessageApi).BatchIsRead)
}

func InitWsRouterGroup() {
	web.GetGin("public").GET("/ws/web", api.WebWs)
	web.GetGin().GET("/ws/app", api.AppWs)
}
